//
//  HWDataService.m
//  HWSGW
//
//  Created by avachen on 15/11/3.
//  Copyright © 2015年 luxuanrui. All rights reserved.
//

#import "HWDataService.h"

@implementation HWDataService
+ (id)requestData:(NSString *)fileName
{
    NSString *filePath = [[NSBundle mainBundle] pathForResource:fileName ofType:NULL];
    NSData *data = [NSData dataWithContentsOfFile:filePath];
    id jsonDic = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:NULL];
    return jsonDic;
    

}
@end
